[?php use_helper('I18N', 'Date') ?]
[?php include_partial('<?php echo $this->getModuleName() ?>/assets') ?]
[?php use_javascript(url_for('<?php echo str_replace('_index', '', $this->getUrlForAction('index')) ?>') . '.js')?]

[?php slot('title','') ?]
<div id="<?php echo $this->getModuleName() ?>-table" class="ui-widget ui-grid-container slide">
    <div class="ui-widget-header ui-grid-header ui-corner-large-top">
        <p class="ui-icon-16 ui-icon-link-edit"></p>
        <h3 class="ui-widget-title">
            [?php echo <?php echo $this->getI18NString('list.title') ?> ?]
        </h3>
    </div>
    <div class="ui-widget-content ui-grid-container-content">
        [?php include_partial('<?php echo $this->getModuleName() ?>/flashes') ?]
        <div class="ui-grid">
            <table id="<?php echo $this->getModuleName() ?>-grid"></table>
            <div id="<?php echo $this->getModuleName() ?>-grid-bar"></div>             
        </div>
    </div>
    <div class="ui-widget-header ui-grid-footer ui-corner-large-bottom">
        <a class="ui-submit ui-button" href="[?php echo url_for('<?php echo $this->getModuleName() ?>/new') ?]">New</a>           
    </div>
</div>
    

    <?php if ($this->configuration->hasFilterForm()): ?>
        <div id="<?php echo $this->getModuleName() ?>-filters" class="ui-widget ui-filter slide">
            [?php include_partial('<?php echo $this->getModuleName() ?>/filters', array('form' => $filters, 'configuration' => $configuration)) ?]
        </div>
    <?php endif; ?>

